package parserUML;


/**
 * 
 */

/**
 * @author Guillaume Chapuis
 *
 */
public abstract class VarObject extends JavaObject{

	/**
	 * The type of the object
	 */
	private String type;

	public VarObject(String sName, String sType){
		super(sName);
		type = sType;
	}
	
	/**
	 * @return the type of the object
	 */
	public String getType(){
		return type;
	}

	public String toString(){
		return this.getName()+" : "+this.getType();
	}
}
